<template>
  <div>
    <div v-if="pageView == 1">
      <ModelAttribute />
    </div>
    <div v-else>
      {{ test }}
    </div>
  </div>
</template>

<script>
import ModelAttribute from "./ModelAttribute.vue"

export default {
  components: {
    ModelAttribute,
  },
  data() {
    return {
      pageView: 1
    }
  },
  mounted () {
  },
  methods:{
    onChange(e) {
      console.log(`checked = ${e.target.value}`);
      this.pageView = e.target.value;
    },
  }
};
</script>

<style scoped>

</style>